﻿#pragma execution_character_set("utf-8")
#include "StockObserver.h"
#include <QDebug>

StockObserver::StockObserver(QString name, shared_ptr<Subject> sub) : Observer(name, sub)
{
}

void StockObserver::Update()
{
    qDebug() << QString("%1 %2 关闭股票行情，继续工作！").arg(sub->getAction()).arg(name);
}
